//package com.reger.test.core;
//
//import java.util.Arrays;
//import java.util.Collection;
//import java.util.Date;
//
//import com.reger.test.message.service.impl.D;
//
//import io.shardingjdbc.core.api.algorithm.sharding.ShardingValue;
//import io.shardingjdbc.core.api.algorithm.sharding.hint.HintShardingAlgorithm;
//
//public class WorkHintShardingAlgorithm implements HintShardingAlgorithm {
//
//	@Override
//	public Collection<String> doSharding(Collection<String> availableTargetNames, ShardingValue shardingValue) {
//		return Arrays.asList("ds_" + D.work(new Date()) % 4);
//	}
//
//}
